package com.zytlifeservice.domain;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

/**
 * Created by MJS on 2017/5/5.
 */

@Entity
public class BaseIcon {

    public static final int TYPE_GAME = 0;  //游戏
    public static final int TYPE_CREDIT_CARD_APPLY = 1;  //信用卡申请
    public static final int TYPE_LOAN_INTEGRITY = 2;  //信用贷款申请
    public static final int TYPE_CREDIT_CARD_PROGRESS = 3;  //信用卡进度
    public static final int TYPE_BANK_SERVER = 4;  //银行服务查询
    public static final int TYPE_CREDIT_REPORTING = 5;  //征信查询
    public static final int TYPE_INTEGRAL_BANNER = 6;  //积分banner
    public static final int TYPE_WECHAT_SERVICE = 7;  //微信客服
    public static final int TYPE_LOAN_SCHOOL = 8;  //校园贷款
    public static final int TYPE_SERVER_QQ = 9;  //客服QQ
    public static final int TYPE_SERVER_PHONE = 10; //客服电话
    public static final int TYPE_INTEGRAL_DESCRIPTION = 11; //积分商城说明
    public static final int TYPE_MOVIE_TICKETS = 12; //电影票
    public static final int TYPE_RENT_CAR = 13; //租车服务
    public static final int TYPE_ORDER_FLOWER = 14; //鲜花预定
    public static final int TYPE_TRAFFIC_VIOLATIONS_INQUIRY = 15; //违章查询
    public static final int TYPE_EXPRESS_CHECK = 16; //快递查询
    public static final int TYPE_ETC_SERVICE = 17; //etc服务

    /*
    12--电影票，
13--租车服务，
14--鲜花预定，
15--违章查询，
16--快递查询，
17--etc服务
     */

    @Id
    @GeneratedValue
    private long id;

    private String url;

    private String icon;

    private String description;

    private int type;

    //------------------------------------------------------------------------------------------------------------

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
